package com.ysxsoft.wdg.bean.event;

public class CommentEvent {

    /**
     * 0-100
     */
    public interface EventStatus{
        int APK_update = 99;//软件更新

        int REGISTER_OK = 0;//注册成功
        int LOGIN_BIND = 1;//三方登录成功
        int MAIN_finish = 2;//退出应用

        int LOCATION_UP = 3;//定位 改变

        int CART_upadata = 5;//更新地址列表

        int ORDER_list_2 = 6;// 订单列表 待发货
        int ORDER_list_3 = 7;// 订单列表 已发货
        int ORDER_list_4 = 8;// 订单列表 待评价
        int ORDER_list_5 = 9;// 订单列表 已完成


        int ORDER_list_jf = 10;//兑换记录


    }

    private int code;
    private String ms;
    private Object object;

    public CommentEvent(int code) {
        this.code = code;
    }

    public CommentEvent(int code, String ms) {
        this.code = code;
        this.ms = ms;
    }

    public CommentEvent(int code, String ms, Object object) {
        this.code = code;
        this.ms = ms;
        this.object = object;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMs() {
        return ms == null ? "" : ms;
    }

    public void setMs(String ms) {
        this.ms = ms;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }
}
